package com.nowcoder.community.dao;


public interface EntityFollowDao {
    void followUser(int followerId, int userId);

    void unfollowUser(int followerId, int userId);

    int countFollower(int userId);

    int countFollow(int userId);

    /**
     * 判断follower是否关注了user
     */
    boolean isFollow(int followerId, int userId);
}
